<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/6/9
  Time: 10:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>this is Add pager!</title>
  <style>
    body{
      background-image:url(../../resources/image/3.jpg)
    }
    a{
      text-decoration: none;
      color:#000;
      font-size: 20px;
    }
    form{
      margin-left: 400px;
      margin-top: 150px;
    }

    input{
      height:35px;
      font-size: 20px;
      color:#2e432b;
    }
  </style>
</head>
<body>
  <sf:form method="post" modelAttribute="user" action="/user/add">
    用&nbsp;&nbsp;&nbsp;户&nbsp;&nbsp;&nbsp;名：&nbsp;&nbsp; <sf:input type="text" path="username"/><br/><br/>
    密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：&nbsp;&nbsp;<sf:input type="password" path="password"/><br/><br/>
    个人简介：&nbsp;&nbsp;<sf:input type="text" path="description" style="width:400px"/><br/><br/><br/>
    <input type="submit" name="submit" value="添加" style="width:100px;height:30px;background-color: #31a425;border:1px solid #31a425;margin-left: 50px;color: #fff"/>
    <span style="width:100px;height:30px;display: inline-block;margin-left: 30px;text-align: center;line-height: 30px;background-color:#c5600f;"><a href="/user/users">返回</a></span>
  </sf:form>
</body>
</html>
